package com.hibernate.dao.news;

import java.util.List;
import java.util.Map;
import com.hibernate.pojo.Articles;
import com.struts.form.ArticlesForm;

public interface ArticlesServiceDao {
	
	public boolean saveNews(Articles articles);

	public boolean updateNewsAudit(ArticlesForm articlesform);

	public boolean updateNews(ArticlesForm articlesform,String newfilename);

	public Map updateNewsView(Long id);

	public boolean deleteNews(Long id);

	public Map findNews(int page, int articlesleibieID);

	public List findNewsTypes(String hql);
	
	//batch delete articles
	public boolean deleteBatchNews(String ids);
	
	//batch update articles leibie
	public boolean updateBatchNewsLeibie(String leibies,Long categry);
	
}
